package com.monicash.monicash.information.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.monicash.monicash.R;
import com.monicash.monicash.base.BaseFragment;
import com.monicash.monicash.information.CapitalInforActivity;

public class LinkAccountFragment extends BaseFragment {

    TextView tv_submit_to;
    View view = null;
    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.fragment_link_account, container, false);
        return view;
    }

    @Override
    public void initView() {
        tv_submit_to = view.findViewById(R.id.tv_submit_to);
        tv_submit_to.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                CapitalInforActivity capitalInforActivity = (CapitalInforActivity) getActivity();
                if(capitalInforActivity!=null){
                    capitalInforActivity.finish();
                }
            }
        });

    }

    @Override
    public void initData() {

    }
}
